package com.ruoyi.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 班组管理对象 bus_team
 * 
 * @author ling
 * @date 2024-07-10
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class BusTeam extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 删除标识 */
    private String delFlag;

    /** 创建者ID */
    private Long createUser;

    /** 更新者ID */
    private Long updateUser;

    /** 班组名称 */
    @Excel(name = "班组名称")
    private String teamName;

    /** 班组长姓名 */
    @Excel(name = "班组长姓名")
    private String teamLeaderName;

    /** 班组长联系电话 */
    @Excel(name = "班组长联系电话")
    private String teamLeaderPhone;


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("delFlag", getDelFlag())
            .append("createUser", getCreateUser())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateUser", getUpdateUser())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("teamName", getTeamName())
            .append("teamLeaderName", getTeamLeaderName())
            .append("teamLeaderPhone", getTeamLeaderPhone())
            .toString();
    }
}
